package entity.common;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 菜品配料表
 * </p>
 *
 * @author admin
 * @since 2020-02-17
 */
@Data
@TableName("t_batching_info")
public class BatchingInfo implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 配料名称
     */
    @TableField("batching_name")
    private String batchingName;

    /**
     * 单位
     */
    @TableField("unit")
    private String unit;

    /**
     * 价格
     */
    @TableField("price")
    private Double price;

    /**
     * 配料图片
     */
    @TableField("image_url")
    private String imageUrl;

    /**
     * 描述
     */
    @TableField("characteristic")
    private String characteristic;

    /**
     * 创建日期 yyyy-MM-dd HH:mm:ss
     */
    @TableField("create_time")
    private String createTime;

    /**
     * 更新日期 yyyy-MM-dd HH:mm:ss
     */
    @TableField("update_time")
    private String updateTime;

    /**
     * 数量
     */
    @TableField("count")
    private Double count;

    @TableField("user_name")
    private String username;

    @TableField("status")
    private Integer status;

    @TableField(exist = false)
    private boolean flag;

}
